<h1>产品管理 - <span id="secondHeading">调配产品库存</span></h1>
<% if @flash[:notice] -%>
<div id="notice"><%= @flash[:notice] %></div>
<% end -%>
调配产品<%=@storeProduct.product.serial%>--<%=@storeProduct.product.name%>
<%=form_tag%>
<TABLE border="0" id="LIST_TB">
	<%=hidden_field_tag(:spid,@storeProduct.id)%>
	<TR id="LIST_TB_TITLE">
		<TD>来源</TD>
		<TD>目的</TD>
		<TD>数量（kpcs）</TD>
	</TR>
	<TR id="LIST_TB_CONTENT1">
		<TD><%=@storeProduct.store.name%></TD>
		<TD><select name="to">
			<%@stores.each do |store|%>
			<%if (store.id != @storeProduct.store.id)%>
			<option value='<%=store.id%>'><%=store.name%></option>
			<%end%>
			<%end%>
		</select></TD>
		<TD><input type="text" name="value" size="10" maxlength="20"></TD>
	</TR>
</TABLE>
<div style="margin-top: 20px; margin-left: 90%"><input type="submit" class="sub" value="调配"></div>
<%=end_form_tag%>
